package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 教师备课资料内容
 * </p>
 *
 * @author hpiggy
 * @since 2025-08-16
 */
@TableName("train_prepare_detail")
@ApiModel(value = "TrainPrepareDetail对象", description = "教师备课资料内容")
@Data
public class TrainPrepareDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long prepareId;

    private String name;

    @ApiModelProperty("课次")
    private Integer lessonNum;

    @ApiModelProperty("关数")
    private Integer shutnumNum;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("链接")
    private String fileLink;

    @ApiModelProperty("文件名")
    private String fileName;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    private Integer deleted;

    @ApiModelProperty("是否有值 0有值 1没值")
    @TableField(exist = false)
    private Integer IsContentStatus;


}
